package com.sghd.pojo.fight.game;

/**
 * @author frank
 * @date 2018-10-30 14:30
 * @desc 数值属性
 **/
public class ValueItem {
    private UnitValue type;
    private int value;

    public static ValueItem valueOf(UnitValue type, int value) {
        ValueItem item = new ValueItem();
        item.type = type;
        item.value = value;
        return item;
    }

    public UnitValue getType() {
        return type;
    }

    public void setType(UnitValue type) {
        this.type = type;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }
}
